<?php
declare (strict_types = 1);

namespace app\api\business;

class Base {

    protected $error = "";

    protected $userInfo = [];


    public function getError() : string {
        return $this->error;
    }

    public function setUserInfo(array $data) {
        $this->userInfo = $data;
    }

    public function getUserInfo():array{

        return $this->userInfo;
    }
}